package com.glorysoft.tonglingxjpda.ui.function.adapter

import android.text.TextWatcher
import android.widget.EditText
import androidx.databinding.BindingAdapter
import com.glorysoft.tonglingxjpda.entity.KyhEntity

object EditTextAdapter {

    @BindingAdapter(value = ["textChange"], requireAll = false)
    @JvmStatic
    fun onTextChange(editText: EditText, listener: TextWatcher) {
        editText.addTextChangedListener(listener)
    }

}